//
//  AXFCategroyTableViewCell.m
//  AXFEightGroup
//
//  Created by ya on 12/23/16.
//  Copyright © 2016 ya. All rights reserved.
//

#import "AXFCategroyTableViewCell.h"
#import "AXFCategroyTableViewCellBackgroundView.h"
#import "AXFCategroyTableViewCellSelectedView.h"

@implementation AXFCategroyTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];

    self.textLabel.adjustsFontSizeToFitWidth = YES;

    [self setupUI];

    // Initialization code
}

- (void)setupUI {
    UIView *view = [[AXFCategroyTableViewCellBackgroundView alloc] init];
    view.backgroundColor = [UIColor colorWithWhite:1 alpha:1];
    self.backgroundView = view;

    UIView *view2 = [[AXFCategroyTableViewCellSelectedView alloc] init];
    view2.backgroundColor = [UIColor colorWithWhite:0.5 alpha:0.5];
    self.selectedBackgroundView = view2;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}



@end
